@charset "utf-8";

.safe() {
    width: 1248px;
    margin: 0 auto;
}

main {
    background-color: #f7f7fa;
    overflow: hidden;
    padding: 10px;
}

.login {
    .safe;
    height: 90px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    >div:nth-child(1) {
        width: 25%;
        height: 90px;
        background-size: 100%;
        img {
            width: 100%;
            height: 100%;
        }
    }
    >div:nth-child(2) {
        display: flex;
        flex-grow: 1 ;
        justify-content: space-between;
        align-items: center;
        padding: 0 46px;
        margin: 0 16px;
        border-left: 1px solid #dee1e6;
        border-right: 1px solid #dee1e6;
        // >div{
        //     // display: flex;
        //     // flex-direction: column;
        //     // align-items: center;
        //     // justify-content: center;
        // }
        img {
            width: 40px;
            height: 40px;
        }
        p {
            padding-top: 6px;
            color: #000;
        }
    }
    >div:nth-child(3){
        width: 25%;
        display: flex;
        .usert {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #d2d2d2;
            text-align: center;
            color: #fff;
            line-height: 48px;
            margin-left: 20px;
            cursor: pointer;
        }
        .zhuce {
            margin-left: 12px;
            font-size: 14px;
            color: #737373;
            cursor: pointer;
            >div {
                margin-bottom: 6px;
            }
            a {
                color: #000;
            }
        }

    }
}

.recom {
    .safe;
    display: flex;
    justify-content: space-between;
    padding: 32px 0;
    img {
        width: 300px;
    }
}

.seckill {
    .safe;
    padding-top: 40px;
    .title {
        display: flex;
        justify-content: space-between;
        height: 56px;
        >div {
            font-size: 24px;
            b {
                color: red;
            }
        }
        >a {
            display: flex;
            color: #737373;
            width: 100px;
            align-items: center;
        }
    }
    .kill {
        display: flex;

    }
    .timeco {
        background-color: #fff;
        margin-right:16px;
        >div {
            width: 212px;
            height: 55px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 14px;
            border-bottom: 1px solid #e9e7e7;
        }
    }
    .date_time {
        >div {
            font-size: 18px;
            color:#c7c7c7;
        }
        >span {
            font-size: 13px;
            color: #c7c7c7;
        }
    }
    .date_end {
        font-size: 13px;
            color: #c7c7c7;
    }
    .t_ing {
        background-color:#ff4154;
    }
    .date_timeing {
        >div {
            font-size: 18px;
            color: #fff;
        }
        >span {
            font-size: 13px;
            color: #fff;
        }
    }
    .date_count {
        span {
            display: inline-block;
            width: 27px;
            height: 27px;
            font-size: 15px;
            border-radius: 3px;
            background-color: #fff;
            font-weight: 700;
            color: #f44336;
            text-align: center;
            line-height: 27px;

        }
        b {
            margin: 0  3px;
            color: #fff;
        }
    }
    .date_timerr {
        >div {
            font-size: 18px;
            color: #666;
        }
        >span {
            font-size: 13px;
            color: #666;
        }
        b {
            font-size: 13px;
            margin: 0  2px;
        }
    }
    .item-rig {
        display: flex;
        justify-content: space-between;
        width: calc(100% - 240px);
    }
    .conten {
        width: 23%;
        padding:14px 5px 0;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        img {
            width: 155px;
            height: 155px;
            margin: auto;
            margin-bottom: 20px;
        }
        .wenzi {
            color: #000;
            margin-bottom: 20px;
            height: 22px;
            width: 200px;
            text-align: center;
            padding: 0 20px;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
     }
     .redline {
         padding: 0 20px;
         margin-bottom: 20px;
         > span {
             display:inline-block;
             width: 130px;
             height: 8px;
             background-color:#fee0df;
             border-radius: 7px;
             position: relative;
             > b {
                 display:inline-block;
                 width: 17px;
                 height: 8px;
                 border-radius: 7px;
                 background-color:#f03446;
                 position: absolute;
                 top:0;
             }
         }
         >em {
             font-size: 12px;
             color: #ddd;
             margin-left: 12px;
         }
     }
     .money {
         padding: 0 20px;
         span {
             color: #f44336;
             margin-right: 6px;
            
         }
         del {
             font-size: 12px;
             color: #b2b2b2;
             text-decoration: line-through;
         }
         strong {
             display: inline-block;
            height: 32px;
            width: 80px;
            color: #fff;
            background-color: #f34141;
            font-size: 13px;
            text-align: center;
            line-height: 32px;
            border-radius: 20px;
            margin-left: 30px;
        }
         
     }
     .conten:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
        transition: all .2s ease-out;
     }
 
}


.hot {
    .safe;
    .hot_one {
     font-size: 24px;
     padding-top: 60px;
     margin-bottom: 24px;
    }

    ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
       }
    .hot_box {
        width: 24%;
        background-color: #fff;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .hot_box >a{
        display: flex;
        position: relative;
    }
    .hot_pic {
        
        img {
            width: 130px;
            height: 130px;
        }
    }
    .hot_zi {
        padding: 30px 15px 0 0;
        > h4 {
            font-size: 18;
            line-height: 26px;
            color: #000;
        }
        >p {
            font-size: 14px;
            line-height: 22px;
            color: #666;
        }
        >div {
            font-size: 20px;
            line-height: 28px;
            margin-top: 8px;
            color: #f44336;
        }
    }

    .dwei {
    height: 30px;
    width: 74px;
    line-height: 30px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    background:#007aff;
    }

    .dwei_red {
        height: 30px;
        width: 74px;
        line-height: 30px;
        font-size: 12px;
        text-align: center;
        color: #fff;
        position: absolute;
        top: 0;
        right: 0;
        border-bottom-left-radius: 8px;
        border-top-right-radius: 8px;
        background:#f34141;;
        }

    .hot_box:hover{
            transform: translateY(-2px);
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
            transition: all .2s ease-out;
    }

 }

 .ertu {
      .safe;
      display: flex;
      justify-content: space-between;
      padding-bottom: 80px;
      img {
          width: 616px;
          height: 220px;
      }
 }

